package com.example.medicalrecord.AggregationModule.registered.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class RegisteredQuery {
    @ApiModelProperty(value = "挂号ID")
    private Long id;
    @ApiModelProperty(value = "患者ID")
    private Long patientId;
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
    @ApiModelProperty(value = "医生Id")
    private Long doctorId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约时间")
    private Date makeTime;
    //通过患者姓名查询获得的患者Id集合
    @ApiModelProperty(value = "预约时间")
    private List<Long> patientIdList;

}
